<? $smallIcon = Info::getByName('icon tren tab browser'); ?>
<?=$smallIcon?$smallIcon['img']?'<link rel="shortcut icon" href="'.$FullUrl.'/'.$smallIcon['img'].'" type="image/x-icon" />':'':'';?>
<script type="text/javascript" src="<?=$FullUrl; ?>/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<?=$FullUrl; ?>/js/external.php"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('#main-contain').append('<div id="top">Back to Top</div>');
       $(window).scroll(function() {
        if($(window).scrollTop() != 0) {
            $('#top').fadeIn();
        } else {
            $('#top').fadeOut();
        }
       });
       $('#top').click(function() {
        $('html, body').animate({scrollTop:0},500);
       });
    });
</script>
<?php
global $do, $tpl, $FullUrl;
?>